package cn.wen.eeayjoke.entity.bean.login;

import cn.wen.eeayjoke.utils.SPUtils;

/**
 * Created by Administrator on 2018/1/24.
 */

public class LoginBean {
    public Boolean result;
    public String checkName;
    public UserInfoBean userInfo;
    public TokenBean token;
    public AdminIMBean adminIMInfo;

    public void cache() {
        SPUtils.putObject(LoginBean.class.getName(), this);
    }

    public static LoginBean getLoginBean() {
        return SPUtils.getObject(LoginBean.class.getName(), LoginBean.class);
    }
}
